package controller;


import java.util.ArrayList;

import view.ContactFrame;
import model.ABook;
import model.Contact;
import model.File;
import model.NThread;

public class Main {
	public static ArrayList<Contact> tab;
	public static void main(String[] args) {
		//Create an Address Book
		ABook a = new ABook("Alexandre");
		tab= new ArrayList<Contact>();
		
		//Multithread
		new NThread();
		try{
			File.read();
			Thread.sleep(10);
		} catch(InterruptedException e){
			e.printStackTrace();
		}
		
		
		/*a.printList();*/
		//Add contact
		new ContactFrame(a);

	}
	
}
